package com.example.tourism.service;

import com.example.tourism.pojo.Result;
import com.example.tourism.pojo.po.Coupon;
import com.example.tourism.pojo.vo.req.CommentReq;
import com.example.tourism.pojo.vo.req.GetOrderListVo;
import com.example.tourism.pojo.vo.req.OrdersReq;

public interface OrderService {
    Result getOrderHotel(String roomId);

    Result getCustomers(String userId);

    Result getCoupons(String userId,String roomId);

    Result createOrder(OrdersReq ordersReq);

    Result getOverOrdersTime(String roomId);

    Result hotelGetOrderData(GetOrderListVo getOrderListVo);

    Result clientGetOrderData(GetOrderListVo getOrderListVo);

    Result cancelOrder(String orderUid);

    Result submitComment(CommentReq comment);

    Result insertCoupon(Coupon coupon, String userId);

    Result getHotelCoupons(String userId);

    Result getHotelCouponsByHotelId(String hotelId);

//    Result grabCoupon(String couponId, String userId);

    Result getMyCoupons(String userId);
}
